<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\service\cdc\append;

use app\service\BaseService;

abstract class AppendService extends BaseService
{
    /**
     * 删除日志.
     * @return mixed
     */
    public function deleteLog(array $where = [])
    {
        return static::getSyncModel()->where($where)->field(true)->delete();
    }
}
